#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

#include <KF5/KScreen/kscreen/config.h>
#include <KF5/KScreen/kscreen/getconfigoperation.h>

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    void init();

    void configWatch(KScreen::ConfigOperation *op);

private Q_SLOTS:
    void slotPrimaryButton();
    void slotMonitorButton();

private:
    KScreen::ConfigPtr m_config;
};
#endif // WIDGET_H
